package com.dynabook.ems.service;

import com.dynabook.ems.model.entity.Roles;
import com.dynabook.ems.model.vo.UserRoleVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author tester
* @description 针对表【roles】的数据库操作Service
* @createDate 2025-07-30 16:25:33
*/
public interface RolesService extends IService<Roles> {

    /**
     * 根据用户ID获取角色信息
     * @param userId 用户ID
     * @return 角色信息
     */
    UserRoleVO getRoleByUserId(String userId);

}
